#version 460
#extension GL_GOOGLE_include_directive : enable
#extension GL_EXT_shader_explicit_arithmetic_types_int64 : require

layout(location=0) in vec4 vColor;

layout(location=0) out vec4 outColor;

#include "../../../../core/shader_std.h"
#include "../../../../core/shader_built_in_functions.h"
#include "../../../../core/shader_mesh.h" 



void main(void){
	vec2 temp = (gl_PointCoord - vec2(0.5)) * 2;
	float f = 1 - min(dot(temp, temp), 1);

	outColor = vColor;
	if(f>0){
		outColor.a = f*10;
	}else{
		discard;
	}
	
	
}



